<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2025/6/30
  Time: 09:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
	<title>Title</title>
</head>
<body>

<%
	out.println(session.getServletContext().getRealPath("/").replace("\\", "/"));
%>

	<table border="1" width="500px">
		<tr><th>序号</th><th>用户名</th><th>性别</th><th>邮箱</th></tr>
		<c:forEach var="user" items="${userList}" varStatus="status">
			<tr><td>${status.count}</td><td>${user.username}</td>
				<td>${user.gender}</td><td>${user.email}</td></tr>
		</c:forEach>
	</table>
</body>
</html>
